#include <iostream>

int main(int argc, char const *argv[]) {
  /* code */
  double obj = 3.14;
  double *pd = &obj;
  std::cout << pd << " " << *pd << std::endl;
  *pd = 3.15;
  std::cout << pd << " " << *pd << std::endl;
  double on = 12.12;
  pd = &on;
  std::cout << pd << " " << *pd << std::endl;
  return 0;
}
